package com.home.homepage.dao.prefecture;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eig.common.entity.course.EduSubject;
import com.eig.common.entity.homepageentity.prefecture.EduCourse;
import com.home.homepage.vo.prefecture.ZoneCourseId;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author ：YQ袁
 * @date ：Created in 2022/12/7 19:56
 * @description：
 * @modified By：
 * @version:
 */
public interface ZoneCourseDao extends BaseMapper<EduCourse> {

    EduCourse select(String id);

    int addCourseDetail(ZoneCourseId zoneCourseId);

    List<EduSubject> queryAllByLimit(@Param("exception") EduSubject eduSubject , @Param("pageable") Pageable pageable, @Param("aaa") String id );


}
